import React from "react"
import ReactDOM from "react-dom/client"
import "@/assets/icon-font/iconfont.css"
import App from "./App.tsx"
import "./index.css"
import { createBrowserRouter, RouterProvider, useNavigate } from "react-router-dom"
import { router } from "@/router"
ReactDOM.createRoot(document.getElementById("root")!).render(
  <React.StrictMode>
    <RouterProvider router={router} />
  </React.StrictMode>
)
